package com.example.gulimall.ware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//开启nacos服务中心
@EnableDiscoveryClient
//开启扫描feign标注的远程接口
@EnableFeignClients
@SpringBootApplication
@EnableRabbit
public class GulimallWareApplication {


    public static void main(String[] args) {
        SpringApplication.run(GulimallWareApplication.class, args);
    }

}
